body {
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  color: #000;
  background-color: #f2f2f2;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
  color: #222;
}

div {
  box-sizing: border-box;
}

.header {
  position: fixed;
  top: 0;
  //   left: 50%;
  //    -webkit-transform: translateX(-50%);
  //   固定的盒子必须有宽度
  width: 100%;
  height: 44px;
  min-width: 320px;
  max-width: 540px;

  left: center;
  display: flex;
  background-color: #f6f6f6;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  .search {
    flex: 1;
    height: 26px;
    border: 1px solid #ccc;
    margin: 7px 10px;
    border-radius: 5px;
    position: relative;
    font-size: 12px;
    color: #666;
    line-height: 24px;
    padding-left: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    &::before {
      content: "";
      position: absolute;
      top: 5px;
      left: 5px;
      width: 15px;
      height: 15px;
      background: url(../images/sprite.png) no-repeat -59px -279px;
      background-size: 104px auto;
    }
  }
  .user {
    width: 44px;
    height: 44px;

    font-size: 12px;
    color: #2eaae0;
    text-align: center;
    &::before {
      content: "";
      display: block;
      width: 23px;
      height: 23px;
      background: url(../images/sprite.png) no-repeat -59px -194px;
      background-size: 104px auto;
      margin: 5px auto 0;
    }
  }
}

.focus {
  padding-top: 44px;
  img {
    width: 100%;
  }
}

.nav {
  height: 64px;
  display: flex;
  background-color: #fff;
  margin: 3px 4px;
  border-radius: 8px;
  text-align: center;
  align-items: center;
  a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    [class^="local-icon"] {
      width: 32px;
      height: 32px;
      background: url(../images/localnav_bg.png) no-repeat 0 0;
      background-size: 32px auto;
    }
    .local-icon2 {
      background-position: 0 -32px;
    }
    .local-icon3 {
      background-position: 0 -64px;
    }
    .local-icon4 {
      background-position: 0 -96px;
    }
    .local-icon5 {
      background-position: 0 -128px;
    }
  }
}

.daohang {
  border-radius: 8px;
  margin: 0 4px 3px;
  overflow: hidden;
  .nav-common {
    height: 88px;
    background-color: pink;
    display: flex;
    &:nth-child(2) {
      margin: 3px 0;
    }
    .nav-item {
      flex: 1;
      display: flex;
      flex-direction: column;

      &:nth-child(-n + 2) {
        border-right: 1px solid #fff;
      }
      a {
        flex: 1;
        line-height: 44px;
        text-align: center;
        color: #fff;
        font-size: 14px;
        text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
        &:first-child {
          border-bottom: 1px solid #fff;
        }
      }

      &:first-child a {
        border: none;
        background: url(../images/hotel.png) no-repeat bottom center;
        background-size: 121px auto;
      }
    }

    &:nth-child(1) {
      background: -webkit-linear-gradient(left, #fa5a55, #fa994d);
    }
    &:nth-child(2) {
      background: -webkit-linear-gradient(left, #4b90ed, #53bced);
    }
    &:nth-child(3) {
      background: -webkit-linear-gradient(left, #34c2a9, #6cd559);
    }
  }
}

.subnav {
  border-radius: 8px;
  background-color: #fff;
  margin: 0 4px;
  display: flex;
  flex-wrap: wrap;
  padding: 5px 0;
  a {
    width: 20%;

    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    .subnav-icon {
      width: 28px;
      height: 28px;
      background: url(../images/subnav-bg.png) no-repeat;
      margin-top: 4px;
      background-size: 28px auto;
    }
  }
}
.sales-box {
  margin: 4px;
  border-top: 1px solid #bbb;
  background-color: #fff;
  .sales-hd {
    height: 44px;
    border-bottom: 1px solid #ccc;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    span {
      width: 100px;
      height: 44px;
      text-indent: -999px;
      overflow: hidden;
      position: relative;
      &::after {
        position: absolute;
        top: 12px;
        left: 8px;
        content: "";
        width: 79px;
        height: 15px;
        background: url(../images/hot.png) no-repeat 0 -20px;
        background-size: 79px auto;
      }
    }

    a {
      color: #fff;
      background: -webkit-linear-gradient(left, #ff506c, #ff6bc6);
      border-radius: 15px;
      padding: 3px 20px 3px 10px;
      &::after {
        content: "";
        position: absolute;
        top: 17px;
        right: 18px;
        width: 7px;
        height: 7px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
      }
    }
  }
}


.sales-bd{
.row{
  display: flex;
  a{flex:1;
    border-bottom: 1px solid #eee;
    &:first-child{
      border-right: 1px solid #eee;
    }
  img{
    width: 100%;
  }}
}

}